<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="/bsc/js/common/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="/bsc/js/common/bootstrap/css/bootstrap-theme.min.css">
<script src="/bsc/js/common/bootstrap/js/jquery-3.1.1.min.js"></script>
<script src="/bsc/js/common/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
 <form action="http://localhost:8081/bsc/updateshopuser" method="post" class="form-horizontal">
 <table border="0" width="900" height="400"  align="center" class="form-inline">
        <tr>
        <td align="right">店主账号&nbsp;</td>
        <td>
        <input type="hidden" class="form-control" name ="shop_user_id" value="${updshop.shop_user_id }">
			<input type="text" class="form-control" name ="account" value="${updshop.account }" >
		</td>
          <td align="right">姓名&nbsp;</td>
        <td><input type="text" class="form-control" name ="username" value="${updshop.username}"></td>
        </tr>
        <tr>
        <td align="right">性别&nbsp;</td>
        <td>
    	    <select  name="sex" class="form-control">
		<option value="M" ${updshop.sex=="M"?"selected":""}>男</option>
		<option value="F" ${updshop.sex=="F"?"selected":""}>女</option>
		</select>
        </td>
         <td align="right">手机&nbsp;</td>
        <td><input type="text" class="form-control" name ="mobile" value="${updshop.mobile}"></td>
        </tr>
        <tr>
         <td align="right">身份证&nbsp;</td>
        <td><input type="text" class="form-control" name ="idno" value="${updshop.idno}"></td>
        <td align="right">邮箱&nbsp;</td>
        <td><input type="text" class="form-control" name ="email" value="${updshop.email}"></td>
        </tr>
        <tr>
         <td align="right">电话&nbsp;</td>
        <td><input type="text" class="form-control" name ="phone" value="${updshop.phone}"></td>
         <td align="right">状态&nbsp;</td>
        <td>
		<select  name="status" class="form-control">
		<option value="1" ${updshop.status=="1"?"selected":""}>启用</option>
		<option value="0" ${updshop.status=="0"?"selected":""}>禁用</option>
		</select>
		</td>
        </tr>
          <tr align="center">
        <td colspan="4"><input type="submit" class="btn btn-primary" value="提交"></td>
        </tr>
        </table>
    </form>
</body>
</html>